#include <stdio.h>
void insert(float* Num,int n,float New)
{
	int i;
	float tmp;
	Num[n]=New;
	for(i=n-1;i>=0;i--)
	{
		if(Num[i+1]<Num[i])
		{
			tmp=Num[i+1];
			Num[i+1]=Num[i];
			Num[i]=tmp;
		}
		else
			break;
	}
}
int main()
{
	float Num[10]={12,22,33,36,48,56,68,72,81},New=60;
	int i,n=9;
	insert(Num,n,New);
	for(i=0;i<10;i++)
		printf("%f\n",Num[i]);
	return 0;
}
